window.onload = function() {
	var APP_ID = '9etyUbhi95RBWTaoLBTyW5HP-gzGzoHsz';
	var APP_KEY = '6IkehXVEvUELlpo1SAf1c8PR';
	AV.init({
		appId: APP_ID,
		appKey: APP_KEY
	});
}

function getpageurl() {
	var index = location.pathname.lastIndexOf("/");
	var ret = location.pathname.substr(index + 1) + location.search;
	return escape(ret);
}